package io.bdmc.modules.bss.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import io.bdmc.common.annotation.DataFilter;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.BarDev;
import io.bdmc.modules.bss.mapper.BarDevMapper;
import io.bdmc.modules.bss.model.BarDevParam;
import io.bdmc.modules.bss.service.BarDevService;

/**
 * <p>
 * 设备表 服务实现类
 * </p>
 *
 * @author hl
 * @since 2018-12-26
 */
@Service
public class BarDevServiceImpl extends ServiceImpl<BarDevMapper, BarDev> implements BarDevService {

    @Autowired
    private BarDevMapper devmapper;


    @DataFilter(tableAlias = "d", user = false)
    @Override
    public MyPage<BarDev> mySelectPage(MyPage<BarDev> page, BarDevParam barDevParam) {
        return devmapper.mySelectPage(page, barDevParam);
    }

    @DataFilter(tableAlias = "d", user = false)
    @Override
    public MyPage<BarDev> mySelectPageSim(MyPage<BarDev> page, BarDevParam barDevParam) {
        return devmapper.mySelectPageSim(page, barDevParam);
    }

    
}
